package org.qiyu.live.api.service;

import org.qiyu.live.api.vo.LivingRoomInitVO;
import org.qiyu.live.api.vo.red.LivingRoomRedVo;
import org.qiyu.live.api.vo.resp.LivingRoomPageRespVO;

/**
 * @Description: //todo
 * @Author: 张广焱
 * @Date: 2023-12-13 21:29
 */
public interface ILivingRoomService {
    /**
     * @Description: 开启直播间
     * @Param: @param type
     * @Author: 张广焱
     * @Date: 2023-12-13  21:30:19
     */
    Integer startingLiving(Integer type);

    /**
     * @Description: 关播接口
     * @Param: @param roomId
     * @Author: 张广焱
     * @Date: 2023-12-13  22:45:53
     */
    boolean closeLiving(Integer roomId);

    /**
     * @param roomId
     * @Description: 根据用户id返回当前直播间相关信息
     * @Param: @param userId
     * @Author: 张广焱
     * @Date: 2023-12-14  22:50:20
     */
    LivingRoomInitVO anchorConfig(Long userId, Integer roomId);

    /**
     * @Description: 直播间列表展示
     * @Param: @param livingroomRedVo
     * @Author: 张广焱
     * @Date: 2023-12-15  19:39:39
     */
    LivingRoomPageRespVO list(LivingRoomRedVo livingroomRedVo);

}
